package com.eastfair.home.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.ExhibitionManageTimingDTO;
import com.eastfair.home.dto.ExhibitionManageTimingModifyDTO;
import com.eastfair.home.dto.ExhibitionManageTimingPageQuery;
import com.eastfair.home.entity.ExhibitionManageTiming;
import com.eastfair.home.vo.ExhibitionManageTimingVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 主场展会时间安排
 * </p>
 *
 * @author linan
 * @date 2022-10-22
 */
public interface ExhibitionManageTimingService extends SuperService<ExhibitionManageTiming> {
    /**
     * do转vo
     *
     * @param model
     */
    ExhibitionManageTimingVO doToVo(ExhibitionManageTiming model);

    /**
     * do转vo
     *
     * @param modelList
     */
    List<ExhibitionManageTimingVO> doToVos(List<ExhibitionManageTiming> modelList);


    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ExhibitionManageTiming> list(ExhibitionManageTimingDTO modelDTO, List<Long> ids);

    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ExhibitionManageTiming> listOfCache(ExhibitionManageTimingDTO modelDTO, List<Long> ids);

    /**
     * 编辑时间安排
     * @param params params
     * @return Boolean
     */
    Boolean updateExhibitionTiming(ExhibitionManageTimingModifyDTO params);

    /**
     * 查询展会时间安排
     * @param params params
     * @return List<ExhibitionManageTimingVO>
     */
    List<ExhibitionManageTimingVO> queryExhibitionTiming(ExhibitionManageTimingPageQuery params);
}
